﻿<UserControl x:Class="Core.Features.Background.BackgroundChanger"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" d:DesignHeight="365" d:DesignWidth="480">
    <Grid x:Name="LayoutRoot">
        <Path Stretch="Fill" StrokeLineJoin="Round" Stroke="#FF000000" StrokeThickness="2" Fill="DarkGray" 
		Data="F1 M 243,89.3333L 538.46,89.3333L 538.46,256.138L 286.667,256.139L 288,280.833L 269.675,256.138L 242.987,256.138L 243,89.3333 Z " 
		Margin="8" UseLayoutRounding="False"/>
                <Grid Name="MainBodyGrid" Margin="11,8,11,57">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                    </Grid.RowDefinitions>
                    <TextBlock Text="Where to ?" FontSize="33" 
                               Margin="3" Foreground="Black" HorizontalAlignment="Center"
                               VerticalAlignment="Center" MaxWidth="465" 
                               TextWrapping="Wrap" Grid.Row="0"/>

                <ScrollViewer Grid.Row="1" Height="250" Margin="0,0,0,-52">
                    <StackPanel>
                        <StackPanel.Resources>
                            <Style TargetType="Button">
                                <Setter Property="Margin" Value="0,-10,0,-10" />
                            </Style>
                        </StackPanel.Resources>
                        <Button Height="100" Command="{Binding CmdSunnyGrass}">
                            <Grid>
                                <TextBlock Text="Grassy Sunshine" />
                            </Grid>
                        </Button>
                        <Button Height="100" Command="{Binding CmdBedRoom}">
                            <Grid>
                                <TextBlock Text="Bed Room" />
                            </Grid>
                        </Button>
                        <Button Height="100" Command="{Binding CmdBeach}">
                            <Grid>
                                <TextBlock Text="Beach" />
                            </Grid>
                        </Button>
                        <Button Height="100" Command="{Binding CmdSchoolYard}">
                            <Grid>
                                <TextBlock Text="School Yard" />
                            </Grid>
                        </Button>
                    </StackPanel>
                </ScrollViewer>
            </Grid>
            <Button Content="X" VerticalAlignment="Top" HorizontalAlignment="Right"
                    FontSize="15" Margin="0,5,5,10" Command="{Binding CmdFinished}"/>
        </Grid>
</UserControl>
